package com.zf.yichat.mapper;

import com.zf.yichat.base.FsMapper;
import com.zf.yichat.model.StUserTicket;
import org.apache.ibatis.annotations.Param;

public interface StUserTicketMapper extends FsMapper<StUserTicket> {

    /**
     * 根据唯一码查询用户门票
     * @param ticketCode
     * @return
     */
    StUserTicket queryUserTicketByCode(@Param("userId") Long userId, @Param("ticketCode") String ticketCode);
}